<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <base target="_self"/>
        <title><{'PROJECT_TITLE'|C}></title>
        <link rel="stylesheet" href="Styles/lib/reset.css" type="text/css"/>
        <link href="Styles/login.css" rel="stylesheet"/>
        <script src="Scripts/resizeImage.js"></script>
    </head>
    <body>
        <img src="Images/login-bg.png" onload="resizeImage(this)" style="visibility:collapse"/>
        <div class="login">
            <form id="login-form" action="<{"Home/login_check"|U}>" method="post">
                <div class="form-title"></div>
                <div class="form-content">
                    <div class="form-content-item">
                        <label class="label">用户名：</label>
                        <input id="username" name="username" type="text" style="width: 150px;"/>
                    </div>
                    <div class="form-content-item">
                        <label class="label">密　码：</label>
                        <input id="password" name="password" type="password" value="" style="width: 150px;"/>
                    </div>
                    <div class="form-content-item verify" id="verify" <{if session("error") <= C("AUTO_GENERATOR_VERIFYTIMES")}>style="display: none;"<{/if}> >
                        <label class="label">验证码：</label>
                        <input style="width: 75px;" name="verify" type="text" value=""/>
                        <{math equation=rand(1,100000) assign="rand"}>
                        <img src="<{"Home/verify"|U:["t"=>$rand]}>"/>
                    </div>
                    <div class="submit" id="login-button">
                        <a>登　录</a>
                    </div>
                </div>
                <p class="form-foot">
                    CopyRight © <{XTPZX::getString("版权信息")}>
                </p>
            </form>
        </div>
        <!--[if IE 6]>
        <script type="text/javascript" src="Scripts/lib/pngfix.js"></script><{*此脚本用于修复IE6下png图片无法显示的问题*}>
        <script type="text/javascript">
            DD_belatedPNG.fix('.login,.form-title');//需要修复的元素，支持CSS选择器
        </script>
        <![endif]-->
        <!--[if lt IE 9]>
        <script type="text/javascript" src="Scripts/lib/json2.js"></script><{*此脚本用于修复IE9以下版本不支持JSON对象的问题*}>
        <![endif]-->
        <script type="text/javascript" src="Scripts/lib/jquery.js"></script>
        <script type="text/javascript" src="Scripts/lib/jquery-form.js"></script>
        <script type="text/javascript" src="Scripts/login.js"></script>
        <!--[if IE 6]>
        <script type="text/javascript" src="Scripts/lib/jquery-bgiframe.js"></script><{*此脚本用于修复IE6版本鼠标浮出层被iframe遮挡的问题*}>
        <![endif]-->

    </body>
</html>
